package com.dotflat.training.repository;

import com.dotflat.training.domain.OTCourseCheckRecord;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OTCourseCheckRecordRepository extends JpaRepository<OTCourseCheckRecord, String>, JpaSpecificationExecutor<OTCourseCheckRecord> {

    List<OTCourseCheckRecord> findAllByAreaIdAndStaffIdAndOfflineCourseIdInAndDeletedIsFalse(String areaId, String staffId, List<String> courseIds);

}
